package com.yyj.mapper;

import com.yyj.dto.CyRoomDto;
import com.yyj.entity.CyRoom;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 *  
 *
 * @author 汪彬彬
 * @since 2025-03-29 19:41:13
 *
 */
@Mapper
public interface CyRoomMapper {

    List<CyRoom> findPage(CyRoomDto params);

    List<CyRoom> findList(CyRoom params);

    CyRoom findById(@Param("rid") Long id);

    int insert(CyRoom cyRoom);

    int update(CyRoom cyRoom);

    int delete(Long id);

}
